1 <?php
2 session_start();
// Use session variable on this page. This function must put on the top of page.
3 if
(!isset($_SESSION['username']) || $_SESSION['usertype'] !='admin'){ // if session variable "username" does not exist.
4 header(
"location:index.php?msg=Please%20login%20to%20access%20admin%20area%20!"); // Re-direct to index.php
5 }

6 else

7 {
8     include_once
"db.php";
9     error_reporting (E_ALL ^ E_NOTICE);
10
11
12 ?><!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
13 "http:
//www.w3.org/TR/html4/loose.dtd">
14 <html>
15 <head>
16 <title>Welcome to Stock Management System !</title>
17 <meta http-equiv=
"Content-Type" content="text/html; charset=iso-8859-1">
18 <link rel=
"stylesheet" href="css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
19         <link rel=
"stylesheet" href="css/template.css" type="text/css" media="screen" title="no title" charset="utf-8" />
20         <script src=
"js/jquery.min.js" type="text/javascript"></script>
21         
22         <script type=
'text/javascript' src='lib/jquery.bgiframe.min.js'></script>
23 <script type=
'text/javascript' src='lib/jquery.ajaxQueue.js'></script>
24 <script type=
'text/javascript' src='lib/thickbox-compressed.js'></script>
25 <script type=
'text/javascript' src='jquery.autocomplete.js'></script>
26 <script type=
'text/javascript' src='localdata.js'></script>
27
28 <link rel=
"stylesheet" type="text/css" href="jquery.autocomplete.css" />
29 <link rel=
"stylesheet" type="text/css" href="lib/thickbox.css" />
30     
31 <script type=
"text/javascript">
32 $().ready(function() {
33
34     function log(
event, data, formatted) {
35         $(
"<li>").html( !data ? "No match!" : "Selected: " + formatted).appendTo("#result");
36     }
37     
38     function formatItem(row) {
39         
return row[0] + " (<strong>id: " + row[1] + "</strong>)";
40     }
41     function formatResult(row) {
42         
return row[0].replace(/(<.+?>)/gi, '');
43     }
44     
45
46
47     $(
"#singleBirdRemote").autocomplete("category.php", {
48         width:
160,
49         autoFill:
true,
50         selectFirst:
false
51     });
52     $(
"#supplier").autocomplete("supplier1.php", {
53         width:
160,
54         autoFill:
true,
55         selectFirst:
false
56     });
57     $(
"#uom").autocomplete("uom.php", {
58         width:
160,
59         autoFill:
true,
60         selectFirst:
false
61     });
62
63
64     $(
"#clear").click(function() {
65         $(
":input").unautocomplete();
66     });
67 });
68
69
70 </script>
71 <script LANGUAGE=
"JavaScript">
72 <!--

73 // Nannette Thacker http://www.shiningstar.net

74 function confirmSubmit()
75 {

76 var
agree=confirm("Are you sure you wish to Delete this Entry?");
77 if
(agree)
78     
return true ;
79 else

80     
return false ;
81 }
82
83 function confirmDeleteSubmit()
84 {

85 var
agree=confirm("Are you sure you wish to Delete Seletec Record?");
86 if
(agree)
87     
88 document.deletefiles.submit();

89 else

90     
return false ;
91 }
92
93
94 function checkAll()
95 {
96
97     
var field=document.forms.deletefiles;
98 for
(i = 0; i < field.length; i++)
99     field[i].
checked = true ;
100 }
101
102 function uncheckAll()
103 {
104     
var field=document.forms.deletefiles;
105 for
(i = 0; i < field.length; i++)
106     field[i].
checked = false ;
107 }

108 // -->

109 </script>
110
111         <script src=
"js/jquery.validationEngine-en.js" type="text/javascript"></script>
112         <script src=
"js/jquery.validationEngine.js" type="text/javascript"></script>
113          <script src=
"js/jquery.hotkeys-0.7.9.js"></script>
114         <!-- AJAX SUCCESS TEST FONCTION
115             <script>function callSuccessFunction(){alert(
"success executed")}
116                     function callFailFunction(){alert(
"fail executed")}
117             </script>
118         -->
119         
120         <script>
121         
122         
123         
124         
125         
126         $(document).ready(function() {
127             
// SUCCESS AJAX CALL, replace "success: false," by: success : function() { callSuccessFunction() },
128              $(
"#name").focus();
129             $(
"#form1").validationEngine(),
130             
131             jQuery(document).bind(
'keydown', 'Ctrl+s',function() {
132           $(
'#form1').submit();
133           
return false;
134             });
135             
136             jQuery(document).bind(
'keydown', 'Ctrl+r',function() {
137           $(
'#form1').reset();
138           
return false;
139             });
140             jQuery(document).bind(
'keydown', 'Ctrl+a',function() {
141             window.location =
"addstock.php";
142           
return false;
143             });
144             jQuery(document).bind(
'keydown', 'Ctrl+0',function() {
145             window.location =
"admin.php";
146           
return false;
147             });
148             jQuery(document).bind(
'keydown', 'Ctrl+1',function() {
149             window.location =
"add_purchase.php";
150               
return false;
151             });
152             jQuery(document).bind(
'keydown', 'Ctrl+2',function() {
153             window.location =
"add_stock_sales.php";
154               
return false;
155             });
156             jQuery(document).bind(
'keydown', 'Ctrl+3',function() {
157             window.location =
"add_stock_details.php";
158               
return false;
159             });
160             jQuery(document).bind(
'keydown', 'Ctrl+4',function() {
161             window.location =
"add_category.php";
162               
return false;
163             });
164             jQuery(document).bind(
'keydown', 'Ctrl+5',function() {
165             window.location =
"add_supplier_details.php";
166               
return false;
167             });
168             jQuery(document).bind(
'keydown', 'Ctrl+6',function() {
169             window.location =
"add_customer_details.php";
170               
return false;
171             });
172             jQuery(document).bind(
'keydown', 'Ctrl+7',function() {
173             window.location =
"view_stock_entries.php";
174               
return false;
175             });
176             jQuery(document).bind(
'keydown', 'Ctrl+8',function() {
177             window.location =
"view_stock_sales.php";
178               
return false;
179             });
180             jQuery(document).bind(
'keydown', 'Ctrl+9',function() {
181             window.location =
"view_stock_details.php";
182               
return false;
183             });
184             
//$.validationEngine.loadValidation("#date")
185             
//alert($("#formID").validationEngine({returnIsValid:true}))
186             
//$.validationEngine.buildPrompt("#date","This is an example","error") // Exterior prompt build example // input prompt close example
187             
//$.validationEngine.closePrompt(".formError",true) // CLOSE ALL OPEN PROMPTS
188         });
189     </script>
190 <style type=
"text/css">
191 <!--
192 body {
193     margin-left: 0px;
194     margin-top: 0px;
195     margin-right: 0px;
196     margin-bottom: 0px;
197     background-color: #FFFFFF;
198 }
199
200 *{
201 padding: 0px;
202 margin: 0px;
203 }
204 #vertmenu {
205 font-family: Verdana, Arial, Helvetica, sans-serif;
206 font-size:
100%;
207 width: 160px;
208 padding: 0px;
209 margin: 0px;
210 }
211
212 #vertmenu h1 {
213 display: block;
214 background-color:#FF9900;
215 font-size:
90%;
216 padding: 3px
0 5px 3px;
217 border: 1px solid #
000000;
218 color: #
333333;
219 margin: 0px;
220 width:159px;
221 }
222
223 #vertmenu ul {
224 list-style: none;
225 margin: 0px;
226 padding: 0px;
227 border: none;
228 }
229 #vertmenu ul li {
230 margin: 0px;
231 padding: 0px;
232 }
233 #vertmenu ul li a {
234 font-size:
80%;
235 display: block;
236 border-bottom: 1px dashed #C39C4E;
237 padding: 5px 0px 2px 4px;
238 text-decoration: none;
239 color: #
666666;
240 width:160px;
241 }
242
243 #vertmenu ul li a:hover, #vertmenu ul li a:focus {
244 color: #
000000;
245 background-color: #eeeeee;
246 }
247 .style1 {color: #
000000}
248 div.pagination {
249
250     padding: 3px;
251
252     margin: 3px;
253
254 }
255
256
257
258 div.pagination a {
259
260     padding: 2px 5px 2px 5px;
261
262     margin: 2px;
263
264     border: 1px solid #AAAADD;
265
266     
267
268     text-decoration: none;
/* no underline */
269
270     color: #
000099;
271
272 }
273
274 div.pagination a:hover, div.pagination a:active {
275
276     border: 1px solid #
000099;
277
278
279
280     color: #
000;
281
282 }
283
284 div.pagination span.current {
285
286     padding: 2px 5px 2px 5px;
287
288     margin: 2px;
289
290         border: 1px solid #
000099;
291
292         
293
294         font-weight: bold;
295
296         background-color: #
000099;
297
298         color: #FFF;
299
300     }
301
302     div.pagination span.disabled {
303
304         padding: 2px 5px 2px 5px;
305
306         margin: 2px;
307
308         border: 1px solid #EEE;
309
310     
311
312         color: #DDD;
313
314     }
315
316     
317 -->
318 </style>
319 </head>
320
321 <body>
322 <table width=
"100%" border="0" cellspacing="0" cellpadding="0">
323   <tr>
324     <td align=
"center" valign="top"><table width="960" border="0" cellspacing="0" cellpadding="0">
325       <tr>
326         <td><table width=
"960" border="0" cellpadding="0" cellspacing="0" bgcolor="#ECECEC">
327           <tr>
328             <td height=
"90" align="left" valign="top"><img src="images/topbanner.jpg" width="960" height="82"></td>
329           </tr>
330           <tr>
331             <td height=
"800" align="left" valign="top"><table width="960" border="0" cellpadding="0" cellspacing="0" bgcolor="#ECECEC">
332               <tr>
333                 <td width=
"130" align="left" valign="top">
334                 
335                 <br>
336
337                 <strong>Welcome <font color=
"#3399FF"><?php echo $_SESSION['username']; ?> !</font></strong><br> <br>
338 <table width=
"100%" border="0" cellspacing="0" cellpadding="0">
339   <tr>
340     <td align=
"center"><a href="admin.php"><img src="images/home.png" width="130" height="99" border="0"></a></td>
341     </tr>
342   <tr>
343     <td align=
"center">&nbsp;</td>
344     </tr>
345   <tr>
346     <td align=
"center"><a href="add_purchase.php"><img src="images/purchase.png" width="130" height="124" border="0"></a></td>
347     </tr>
348   <tr>
349     <td align=
"center">&nbsp;</td>
350     </tr>
351   <tr>
352     <td align=
"center"><a href="add_stock_sales.php"><img src="images/sales.png" width="146" height="111" border="0"></a></td>
353     </tr>
354   <tr>
355     <td align=
"center">&nbsp;</td>
356     </tr>
357   <tr>
358     <td align=
"center"><a href="report.php"><img src="images/reports.png" width="131" height="142" border="0"></a></td>
359     </tr>
360   <tr>
361     <td align=
"center">&nbsp;</td>
362     </tr>
363   <tr>
364     <td align=
"center">&nbsp;</td>
365     </tr>
366   <tr>
367     <td align=
"center">&nbsp;</td>
368     </tr>
369 </table>
370
371
372     
373                 
374                 
375                 </td> <td height=
"500" align="center" valign="top">
376 <table width=
"100%" border="0" cellspacing="0" cellpadding="0">
377   <tr>
378     <td><a href=
"add_stock_details.php"><img src="images/addstockdetails.png" width="67" height="62" border="0"></a></td>
379     <td><a href=
"add_supplier_details.php"><img src="images/supplier.png" width="67" height="54" border="0"></a></td>
380     <td><a href=
"add_customer_details.php"><img src="images/customer.png" width="67" height="54" border="0"></a></td>
381     <td><a href=
"add_category.php"><img src="images/categories.png" width="67" height="54" border="0"></a></td>
382     <td><a href=
"view_stock_sales.php"><img src="images/vsales.png" width="67" height="54" border="0"></a></td>
383     <td><a href=
"view_stock_entries.php"><img src="images/vpurchase.png" width="67" height="54" border="0"></a></td>
384     <td><a href=
"view_stock_details.php"><img src="images/stockdetails.png" width="67" height="54" border="0"></a></td>
385     <td><a href=
"view_stock_availability.php"><img src="images/savail.png" width="67" height="54" border="0"></a></td>
386      <td align=
"left" valign="top"><a href="view_customer_details.php"><img src="images/customers.png" width="94" height="22" border="0"></a><br> <a href="view_supplier_details.php"><img src="images/suppliers.png" width="94" height="22" border="0"></a><br>
387       <a href=
"view_payments.php"><img src="images/payments.png" width="94" height="22" border="0"></a></td>
388     <td align=
"left" valign="top"><a href="view_stock_sales_payments.php"><img src="images/outstanding.png" width="94" height="22" border="0"></a><br> <a href="view_stock_entries_payments.php"><img src="images/pendings.png" width="94" height="22" border="0"></a><br>
389       <a href=
"logout.php"><img src="images/logout.png" width="94" height="22" border="0"></a></td>
390   </tr>
391 </table>
392 <br>
393 <table width=
"700" border="0" cellspacing="0" cellpadding="0">
394   <tr>
395     <td><form action=
"" method="post" name="search" >
396 <input name=
"searchtxt" type="text" >
397 &nbsp;&nbsp;<input name=
"Search" type="submit" value="Search">
398 </form></td>
399     <td><form action=
"" method="get" name="page">
400 Page per Record<input name=
"limit" type="text" style="margin-left:5px;" value="<?php if(isset($_GET['limit'])) echo $_GET['limit']; else echo "10"; ?>" size="3" maxlength="3">
401 <input name=
"go" type="submit" value="Go">
402 <!-- <input type=
"button" name="selectall" value="SelectAll" onClick="checkAll()" style="margin-left:5px;"/>
403 <input type=
"button" name="unselectall" value="DeSelectAll" onClick="uncheckAll()" style="margin-left:5px;" />
404 <input name=
"dsubmit" type="button" value="Delete Selected" style="margin-left:5px;" onclick="return confirmDeleteSubmit()"/> --></form></td>
405   </tr>
406 </table><br>
407
408                 <?php
409
410
411
412 $SQL =
"SELECT DISTINCT(transactionid)FROM stock_sales";
413 if
(isset($_POST['Search']) AND trim($_POST['searchtxt'])!="")
414 {
415
416 $SQL =
"SELECT COUNT(*) as num FROM stock_sales WHERE stock_name LIKE '%".$_POST['searchtxt']."%' OR supplier_name LIKE '%".$_POST['searchtxt']."%' OR customer_id LIKE '%".$_POST['searchtxt']."%' OR date LIKE '%".$_POST['searchtxt']."%' OR transactionid LIKE '%".$_POST['searchtxt']."%'";
417
418
419 }
420
421     $tbl_name=
"stock_sales"; //your table name
422
423     
// How many adjacent pages should be shown on each side?
424
425     $adjacents =
3;
426
427     
428
429     
/*
430
431        First
get total number of rows in data table.
432
433        If you have a WHERE clause
in your query, make sure you mirror it here.
434
435     */

436
437     $query =
"SELECT COUNT(*) as num FROM $tbl_name";
438     
if(isset($_POST['Search']) AND trim($_POST['searchtxt'])!="")
439 {
440
441 $query =
"SELECT COUNT(*) as num FROM stock_sales WHERE stock_name LIKE '%".$_POST['searchtxt']."%' OR supplier_name LIKE '%".$_POST['searchtxt']."%' OR customer_id LIKE '%".$_POST['searchtxt']."%' OR date LIKE '%".$_POST['searchtxt']."%' OR transactionid LIKE '%".$_POST['searchtxt']."%'";
442
443
444 }
445
446     $total_pages = mysql_fetch_array(mysql_query($query));
447
448     $total_pages = $total_pages[num];
449
450     
451
452     
/* Setup vars for query. */
453
454     $targetpage =
"view_stock_sales.php"; //your file name (the name of this file)
455
456     $limit =
10; //how many items to show per page
457     
if(isset($_GET['limit']))
458     $limit=$_GET[
'limit'];
459     $page = $_GET[
'page'];
460
461     
if($page)
462
463         $start = ($page -
1) * $limit; //first item to display on this page
464
465     
else
466
467         $start =
0; //if no page var is given, set start to 0
468
469     
470
471     
/* Get data. */
472
473     $sql =
"SELECT DISTINCT(transactionid) FROM stock_sales ORDER BY date desc LIMIT $start, $limit ";
474     
if(isset($_POST['Search']) AND trim($_POST['searchtxt'])!="")
475 {
476
477 $sql =
"SELECT DISTINCT(transactionid) FROM stock_sales WHERE stock_name LIKE '%".$_POST['searchtxt']."%' OR supplier_name LIKE '%".$_POST['searchtxt']."%' OR customer_id LIKE '%".$_POST['searchtxt']."%' OR date LIKE '%".$_POST['searchtxt']."%' OR transactionid LIKE '%".$_POST['searchtxt']."%' ORDER BY date desc LIMIT $start, $limit ";
478
479
480 }
481     $result = mysql_query($sql);
482
483     
484
485     
/* Setup page vars for display. */
486
487     
if ($page == 0) $page = 1; //if no page var is given, default to 1.
488
489     $prev = $page -
1; //previous page is page - 1
490
491     $next = $page +
1; //next page is page + 1
492
493     $lastpage = ceil($total_pages/$limit);
//lastpage is = total pages / items per page, rounded up.
494
495     $lpm1 = $lastpage -
1; //last page minus 1
496
497     
498
499     
/*
500
501         Now we apply our rules and draw the pagination
object.
502
503         We
're actually saving the code to a variable in case we want to draw it more than once.
504
505     */

506
507     $pagination =
"";
508
509     
if($lastpage > 1)
510
511     {
512
513         $pagination .=
"<div class=\"pagination\">";
514
515         
//previous button
516
517         
if ($page > 1)
518
519             $pagination.=
"<a href=\"$targetpage?page=$prev&limit=$limit\">« previous</a>";
520
521         
else
522
523             $pagination.=
"<span class=\"disabled\">« previous</span>";
524
525         
526
527         
//pages
528
529         
if ($lastpage < 7 + ($adjacents * 2)) //not enough pages to bother breaking it up
530
531         {
532
533             
for ($counter = 1; $counter <= $lastpage; $counter++)
534
535             {
536
537                 
if ($counter == $page)
538
539                     $pagination.=
"<span class=\"current\">$counter</span>";
540
541                 
else
542
543                     $pagination.=
"<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
544
545             }
546
547         }
548
549         elseif($lastpage >
5 + ($adjacents * 2)) //enough pages to hide some
550
551         {
552
553             
//close to beginning; only hide later pages
554
555             
if($page < 1 + ($adjacents * 2))
556
557             {
558
559                 
for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++)
560
561                 {
562
563                     
if ($counter == $page)
564
565                         $pagination.=
"<span class=\"current\">$counter</span>";
566
567                     
else
568
569                         $pagination.=
"<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
570
571                 }
572
573                 $pagination.=
"...";
574
575                 $pagination.=
"<a href=\"$targetpage?page=$lpm1&limit=$limit\">$lpm1</a>";
576
577                 $pagination.=
"<a href=\"$targetpage?page=$lastpage&limit=$limit\">$lastpage</a>";
578
579             }
580
581             
//in middle; hide some front and some back
582
583             elseif($lastpage - ($adjacents *
2) > $page && $page > ($adjacents * 2))
584
585             {
586
587                 $pagination.=
"<a href=\"$targetpage?page=1&limit=$limit\">1</a>";
588
589                 $pagination.=
"<a href=\"$targetpage?page=2&limit=$limit\">2</a>";
590
591                 $pagination.=
"...";
592
593                 
for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++)
594
595                 {
596
597                     
if ($counter == $page)
598
599                         $pagination.=
"<span class=\"current\">$counter</span>";
600
601                     
else
602
603                         $pagination.=
"<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
604
605                 }
606
607                 $pagination.=
"...";
608
609                 $pagination.=
"<a href=\"$targetpage?page=$lpm1&limit=$limit\">$lpm1</a>";
610
611                 $pagination.=
"<a href=\"$targetpage?page=$lastpage&limit=$limit\">$lastpage</a>";
612
613             }
614
615             
//close to end; only hide early pages
616
617             
else
618
619             {
620
621                 $pagination.=
"<a href=\"$targetpage?page=1&limit=$limit\">1</a>";
622
623                 $pagination.=
"<a href=\"$targetpage?page=2&limit=$limit\">2</a>";
624
625                 $pagination.=
"...";
626
627                 
for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++)
628
629                 {
630
631                     
if ($counter == $page)
632
633                         $pagination.=
"<span class=\"current\">$counter</span>";
634
635                     
else
636
637                         $pagination.=
"<a href=\"$targetpage?page=$counter&limit=$limit\">$counter</a>";
638
639                 }
640
641             }
642
643         }
644
645         
646
647         
//next button
648
649         
if ($page < $counter - 1)
650
651             $pagination.=
"<a href=\"$targetpage?page=$next&limit=$limit\">next »</a>";
652
653         
else
654
655             $pagination.=
"<span class=\"disabled\">next »</span>";
656
657         $pagination.=
"</div>\n";
658
659     }
660
661
662 ?>
663 <?php
if(isset($_GET['msg'])) echo "Record ID:[ ".$_GET['id']." ] <center>".$_GET['msg']."</center>";
664                     
665                     
if(isset($_GET['cmsg'])) echo "<center>".$_GET['cmsg']."</center>";
666                     ?>
667
668
669       
670      <form name=
"deletefiles" action="deleteselected.php" method="post">
671      <input name=
"table" type="hidden" value="stock_sales">
672      <input name=
"return" type="hidden" value="view_stock_sales.php">
673       <table width=
"700" border="0" cellspacing="0" cellpadding="0">
674
675       <tr>
676
677         <td bgcolor=
"#0099FF"><div align="center"><strong><span class="style1">View Stock Entries </span></strong></div></td>
678
679       </tr>
680
681       <tr>
682
683         <td>&nbsp;</td>
684
685       </tr>
686
687       <tr>
688
689         <td align=
"center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
690
691           <tr>
692
693             <td width=
"100"><strong>ID </strong></td>
694
695             <td width=
"100"><strong>Date</strong></td>
696
697             <td width=
"100"><strong>Customer</strong></td>
698
699             <td width=
"100"><strong>Outstanding</strong></td>
700
701             <td width=
"100"><strong>Total</strong></td>
702             <td width=
"100"><strong>Edit</strong></td>
703             <!-- <td width=
"100"><strong>View/Edit</strong></td> -->
704             <td width=
"100"><strong>Delete</strong></td>
705          <!-- <td width=
"100"><strong>Select</strong></td> -->
706           </tr>
707
708           
709
710           
711
712           <?php
713
714      
715
716                                 
while($row = mysql_fetch_array($result))
717
718         {
719
720             $transid=$row[
'transactionid'];
721             $line = $db->queryUniqueObject(
"SELECT * FROM stock_sales WHERE transactionid='$transid' ");
722          $mysqldate=$line->date;
723
724         $phpdate = strtotime( $mysqldate );
725
726         $phpdate = date(
"d/m/Y",$phpdate);
727
728
729
730                                          ?>
731
732                                             <tr>
733
734
735
736         <td width=
"100"><?php echo $row['transactionid']; ?></td>
737
738         <td width=
"100"><?php echo $phpdate; ?></td>
739
740         <td width=
"100"><?php echo $line->customer_id; ?></td>
741
742         
743
744         <td width=
"100"><?php echo $line->balance; ?></td>
745
746         <td width=
"100"><?php echo $line->subtotal; ?></td>
747         <td width=
"100"><a href="edit_stock_sales.php?id=<?php echo $row['transactionid']; ?>"> Edit </a></td>
748         <!-- <td width=
"100"> <a href="update_stock_sales.php?id=<?php //echo $row['id'];?>"><img src="images/edit-icon.png" border="0" alt="delete"></a></td>
749          -->
750                             <td width=
"100"><a onclick="return confirmSubmit()"
751  href=
"stock_sales_delete.php?tid=<?php echo $row['transactionid']; ?>&table=stock_sales&return=view_stock_sales.php"><img src="images/delete.png" border="0" alt="delete"></a></td>
752  
753 <!-- <td width=
"100">&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" value="<?php //echo $row['id']; ?>" name="checklist[]" /></td>
754  -->
755                             </tr>
756
757                                              
758
759                                              
760
761                                         
762
763                                              
764
765                                              <?php
766
767                                                 
768
769                                              
770
771                                       }
772
773                                         
774
775                       
776
777                           
778
779     
780
781  
782
783
784
785 ?>
786
787           
788
789           
790
791           
792
793           
794
795           
796
797         </table></td>
798
799       </tr>
800
801       <tr>
802
803         <td>&nbsp;</td>
804
805       </tr>
806
807       <tr>
808
809         <td align=
"center">&nbsp;</td>
810
811       </tr>
812
813       <tr>
814
815         <td align=
"center"><div style="margin-left:20px;"><?php echo $pagination; ?></div></td>
816
817       </tr>
818
819       <tr>
820
821         <td align=
"center">&nbsp;</td>
822
823       </tr>
824
825       <tr>
826
827         <td>&nbsp;</td>
828
829       </tr>
830
831       <tr>
832
833         <td align=
"center">&nbsp; </td>
834
835       </tr>
836
837       <tr>
838
839         <td>&nbsp;</td>
840
841       </tr>
842
843     </table>
844
845     
846
847     </form>
848
849     
850
851     </td>
852
853   </tr>
854
855 </table>
856
857 </td>
858               </tr>
859             </table>
860             
861         </td>
862           </tr>
863           <tr>
864             <td height=
"30" align="center" bgcolor="#72C9F4"><span class="style1"><a href="http://www.pluskb.com">Developed by PlusKB Innovations</a></span></td>
865           </tr>
866         </table></td>
867       </tr>
868     </table></td>
869   </tr>
870 </table>
871
872 </body>
873 </html>
874 <?php
875 }
876 ?>


Gõ tìm kiếm nhanh...